{% extends "polls/base.html" %}
{% block title %}<title>create polls</title>{% endblock %}
{% block body %}
<a href="{% url 'polls:css' %}">css page</a>
{# <a href="{% url 'polls:detail' poll.id %}">Vote?</a> #}
<a href="{% url 'polls:index' %}">Back to Index</a>
<a href="{% url 'polls:about' %}">About</a>
<a href="{% url 'polls:create' %}">Create polls</a>
<a href="{% url 'polls:search_form' %}">Search</a>
{% if form.errors %}
<p style="color: red">
  Please correct the {{ form.errors|length }} error{{ form.errors|pluralize }} below.
</p>
{% endif %}
<form action="" method="POST">{% csrf_token %}
  <table>
    <h1>你确定吗？</h1>
    <p>你确认想要删除????</p>
    <ul>
      <li>Question: {{ poll.question }}</li>
      <li>Pub_date: {{ poll.pub_date }}</li>
    </ul>
  </table>
  <input type="submit" value="Submit" />
</form>
{% endblock %}